<template>
    <h1>我是vmodel子组件</h1>
    <input type="text" v-model="value">
    <slot></slot>
</template>
<script setup >
import { defineModel, defineComponent } from 'vue';
const value = defineModel('value')
</script>
<style scoped lang='less'></style>
